import HttpServer from '../utils/HttpServer'
import qs from 'qs';

export const login = (params) => {
    return HttpServer.post('/user/doLogin', qs.stringify(params))
}

export const getToken=(params)=>{
	return HttpServer.post('/base/getToken', qs.stringify(params))
}

export const getUserRole = (params) => {
    return HttpServer.post('/olap-project/projectUserRole/getRole', qs.stringify(params))
}